package com.niit.bookmanage.service;

import com.niit.bookmanage.domain.vo.BookBorrowCountVO;
import com.niit.bookmanage.domain.vo.BookTypeVO;
import com.niit.bookmanage.domain.vo.BorrowVO;

import java.sql.SQLException;
import java.util.List;

/**
 * @author Liweijian.
 * @date 2024/6/8 12:59
 */
public interface BookBorrowCountService {
    List<BorrowVO> getBorrowAndReturnCount(String bookName);


    /*
    * task 6
    * */
    List<BookBorrowCountVO> getTopFiveBooks() throws SQLException;

    /*
    * task 5
    * */
    List<BookTypeVO> getTopThreeType();

    List<String> getAllBookNames();
}
